package com.opages.mybatis.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author daizhong.liu
 * @create 2021-11-14 15:32
 **/
@Getter
@Setter
public class User implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String nickname;
    private Card card;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", card=" + card +
                '}';
    }
}
